package com.chanzany.bridge;

public class Client {
    public static void main(String[] args) {
        FoldedPhone foldedPhone = new FoldedPhone(new Vivo());
        FoldedPhone foldedPhone2 = new FoldedPhone(new XiaoMi());
        foldedPhone.call();
        foldedPhone2.call();

        System.out.println("====================");
        UpRightPhone upRightPhone = new UpRightPhone(new XiaoMi());
        UpRightPhone upRightPhone2 = new UpRightPhone(new Vivo());
        upRightPhone.call();
        upRightPhone2.call();

    }
}
